//
//  GuestInfoView.h
//  QRMaster
//
//  Created by myApple on 15/4/29.
//  Copyright (c) 2015年 myApple. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "GuestModel.h"
#import "RoomSeclectViewController.h"
#import "BaseView.h"
@class GuestInfoView;
@protocol GuestInfoViewDelegate <NSObject>

-(void)guestInFoViewBackClick;

-(void)guestInFoViewSendRoomSelect:(RoomSeclectViewController *)rsvc;

-(void)guestInFoViewSendSetDateTime;

-(void)guestInfoViewDelegateToken:(UIViewController *)vc;

-(void)guestInfoBack;//返回

@end

@interface GuestInfoView : BaseView

@property(nonatomic,retain)GuestModel * model;

@property(nonatomic,copy)NSString * communityID;

@property(nonatomic,copy)NSString * communityRole;

@property(nonatomic,copy)NSString * groupId;

//@property(nonatomic,assign)BOOL allocateRoomPower;

@property(nonatomic,assign)BOOL comeFrom;//从添加客户那边就可以编辑身份证(yes)，直接点击列表就让身份证不显示(no)

@property(nonatomic,assign)BOOL isHaveAllocateTime;//是否可以分配起始时间（给组客户的都不能分配起始时间，组管理员除外）

@property(nonatomic,assign)id<GuestInfoViewDelegate>delegate;


@end
